package com.onepiece.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class MySlf4jImpl implements org.apache.ibatis.logging.Log
        {

            private static final Logger log = LoggerFactory.getLogger(MySlf4jImpl.class);

            @Override
            public boolean isDebugEnabled() {
                log.info("isDebugEnabled");
                return log.isInfoEnabled();
            }

            @Override
            public boolean isTraceEnabled() {
                return false;
            }

            @Override
            public void error(String s, Throwable e) {

            }

            @Override
            public void error(String s) {

            }

            @Override
            public void debug(String s) {
                log.info(s);
            }

            @Override
            public void trace(String s) {

            }

            @Override
            public void warn(String s) {

            }
        }
